package com.zhiche.lisa.lspm.service.lsp.impl;

import com.zhiche.lisa.lspm.service.lsp.LspAuditLogService;
import com.zhiche.lisa.lspm.dao.mapper.lsp.LspAuditLogMapper;
import com.zhiche.lisa.lspm.dao.model.lsp.LspAuditLog;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 承运商认证日志 service impl
 * @since 2018-05-29
 * @author lbl
 */
@Service
public class LspAuditLogServiceImpl implements LspAuditLogService {

    @Autowired
    private LspAuditLogMapper lspAuditLogMapper;

    @Override
    public void insert(LspAuditLog lspAuditLog) {
        lspAuditLogMapper.insert(lspAuditLog);
    }

    @Override
    public void batchInsert(List<LspAuditLog> logList) {
        lspAuditLogMapper.batchInsert(logList);
    }
}
